//
//  HMTypeOfOrderTableViewCell.m
//  HMSupplier
//
//  Created by haohao on 2017/7/6.
//  Copyright © 2017年 haohao. All rights reserved.
//

#import "HMTypeOfOrderTableViewCell.h"
#import "OrderCenterOrderDetail.h"
@implementation HMTypeOfOrderTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _orderNumberLabel.textColor = k999999;
    _lineLabel.backgroundColor = ke5e5e5;
    _weightLabel.textColor = kff0000;
    // Initialization code
}

- (void)setModel:(OrderCenterOrderDetail *)model {
    _model = model;
    _orderNumberLabel.text = [NSString stringWithFormat:@"订单号：%@", _model.oid];
    _sizeLabel.text = [NSString stringWithFormat:@"规格：%@",_model.item_attr];
    _weightLabel.text = [NSString stringWithFormat:@"%@%@", _model.item_number, _model.weight];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
